package cn.javabb.project.model.dto;

import cn.javabb.common.web.BaseEntity;
import cn.javabb.project.entity.GenTable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @desc:
 * @author: javabb (javabob(a)163.com)
 * @create: 2021/09/20 18:11
 */
@Data
@NoArgsConstructor
@ApiModel("生成项目表")
public class ProjectDTO extends BaseEntity {

    /**
     * 编号
     */
    private String id;
    @ApiModelProperty(value ="项目名称")
    private String name;
    @ApiModelProperty(value ="项目编码")
    private String proCode;
    @ApiModelProperty(value ="模版")
    private Long templateId;

    @ApiModelProperty(value ="模版名称")
    private String templateName;

    @ApiModelProperty(value ="数据源ID ")
    private Long dsId;

    @ApiModelProperty(value ="数据源")
    private String dsUrl;

    @ApiModelProperty(value ="项目路径")
    private String projectPath;
    @ApiModelProperty(value ="作者")
    private String author;
    @ApiModelProperty(value ="集成包名")
    private String basePackage;
    @ApiModelProperty(value = "开启Lombok",example = "false")
    private Boolean openLombok = false;
    @ApiModelProperty(value ="开启日志",example = "false")
    private Boolean openLog = false;
    @ApiModelProperty(value ="开启Swagger",example = "false")
    private Boolean openSwagger = false;
    @ApiModelProperty(value ="开启权限",example = "false")
    private Boolean openPermission = false;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("表的数量")
    private Integer tableCnt;
}
